<BootstrapModal Title="ModalExample">
    <ChildContent>
        This is a moalExample.
    </ChildContent>
    <ActionsContent>
        <BootstrapButton OnClick="@OnConfirm">确定</BootstrapButton>
        <BootstrapButton OnClick="@OnCancel" Color="@Color.secondary">取消</BootstrapButton>
    </ActionsContent>
</BootstrapModal>